package com.dream.essearch.service;

import com.dream.essearch.model.dto.BookDTO;
import com.dream.essearch.model.dto.PageResult;
import com.dream.essearch.model.dto.SearchParam;
import com.dream.essearch.model.entity.BookEntity;

import java.util.List;

/**
 * @description: 图书接口
 * @author: LiMG
 * @create: 2025-04-28 01:00:54
 **/
public interface IBookService {

    void saveBook(BookDTO bookDTO);

    List<BookEntity> getBookList();

    List<String> getSuggest(String keyword);

    PageResult search(SearchParam param);

}
